package com.cn.wanxi.service;

import com.cn.wanxi.entity.NewsEntity;

import java.util.List;

public interface INewsService {
    List<NewsEntity> findAll(NewsEntity newsEntity);

    int getCount(NewsEntity newsEntity);
    int del(Integer id);

    NewsEntity findById(Integer id);

    String edit(NewsEntity newsEntity);

    String add(NewsEntity newsEntity);
}
